package org.andcool.sensor.location;

import android.location.Location;
import android.location.LocationListener;
import android.os.Bundle;

/**
 * @author Joosun
 * @since 2011-5-12
 */
public interface ILocationListener
{
	/**
	 * @see {@link LocationListener#onProviderEnabled(String)}
	 */
	public void doLocationProviderEnabled();

	/**
	 * @see {@link LocationListener#onLocationChanged(Location)}
	 */
	public void doLocationChanged(final Location pLocation);

	public void doLocationLost();

	/**
	 * @see {@link LocationListener#onProviderDisabled(String)}
	 */
	public void doLocationProviderDisabled();

	/**
	 * @see {@link LocationListener#onStatusChanged(String, int, android.os.Bundle)}
	 */
	public void doLocationProviderStatusChanged(final LocationProviderStatus pLocationProviderStatus, final Bundle pBundle);

}